package com.mstore.pojo;

public class BgiveRule {

	private Long id;

	/**
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 企业id
	 */
	private Long eaId;

	/**
	 * 注册时赠送的积分
	 */
	private Double giveValue;

	/**
	 * 起始时间
	 */
	private String fromTime;

	/**
	 * 终止时间
	 */
	private String toTime;

	/**
	 * 规则名称
	 */
	private String name;

	/**
	 * 增加的积分
	 */
	private Double raiseValue;

	/**
	 * 奖励类型（1、注册奖励积分；2、指定时间段积分翻倍；3、指定时间段积分增加）
	 */
	private Integer type;

	/**
	 * 状态（1、开启；2、关闭）
	 */
	private Integer state;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getEaId() {
		return eaId;
	}

	public void setEaId(Long eaId) {
		this.eaId = eaId;
	}

	public Double getGiveValue() {
		return giveValue;
	}

	public void setGiveValue(Double giveValue) {
		this.giveValue = giveValue;
	}

	public String getFromTime() {
		return fromTime;
	}

	public void setFromTime(String fromTime) {
		this.fromTime = fromTime;
	}

	public String getToTime() {
		return toTime;
	}

	public void setToTime(String toTime) {
		this.toTime = toTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getRaiseValue() {
		return raiseValue;
	}

	public void setRaiseValue(Double raiseValue) {
		this.raiseValue = raiseValue;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
}
